import Vue from 'vue'
import VueRouter, { RouteConfig } from 'vue-router'

Vue.use(VueRouter)

const routes: Array<RouteConfig> = [
    {
        path: '/',
        name: 'PageDesigner',
        component:  () => import('@/views/customPage/PageDesigner.vue'),
      },
      {
          path:'*',
          redirect: '/'
      }
   
]

const router = new VueRouter({
    routes,
})

export default router
